package cm.cool.web.data;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import cm.cool.web.bean.Notice;

@Mapper
public interface NoticeMapper {
    
	
	int deleteByPrimaryKey(String id);
    
    int insert(Notice record);

    int insertSelective(Notice record);
    
    /**
     * 按条件查询警告信息
     * @param notice
     * @return
     */
    List<Notice> selectByPrimaryKey(Notice notice);
    
    /**
     * 按条件查询警告信息
     * @param notice
     * @return
     */
    int selectByAllCount(Notice notice);
    
    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);
}